package com.terry.errorutils;



public enum  CommonErrors implements UnifyErrorInterface{
    SYSTEM_ERROR("system_error", "当前系统出现错误，请稍后再试", "System error , please try again later"),
    UPLOAD_ERROR("upload_error", "上传失败，请稍后再试", "System error , upload error, please try again later"),;


    private String code;
    private String msg;
    private String enMsg;

    private CommonErrors(String code, String msg, String enMsg) {
        this.code = code;
        this.msg = msg;
        this.enMsg = enMsg;
    }

    @Override
    public String getcode() {
        return this.code;
    }

    @Override
    public void setCode(String code) {
    this.code=code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public String getEnmsg() {
        return this.enMsg;
    }



}
